package com.ruoyi.yf.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 地区医废每日统计对象 yf_district_statistical
 * 
 * @author XiaoYi...
 * @date 2020-09-29
 * adf5bede-b11a-4c42-884f-c02a6b5214c1
 */
public class YfDistrictStatistical extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 地区id */
    @Excel(name = "地区id")
    private Integer districtId;

    /** 地区父id */
    @Excel(name = "地区父id")
    private Integer districtPid;

    /** 地区层级 */
    @Excel(name = "地区层级")
    private Integer districtDeep;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String districtName;

    /** 统计日期 */
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date statisticalDate;

    /** 医疗机构数量 */
    @Excel(name = "医疗机构数量")
    private Integer hospitalNum;

    /** 暂存点数量 */
    @Excel(name = "暂存点数量")
    private Integer stagingNum;

    /** 产生医废袋数 */
    @Excel(name = "产生医废袋数")
    private Long productBag;

    /** 产生医废重产量 */
    @Excel(name = "产生医废重产量")
    private Double productWeight;

    /** 出库医废袋数 */
    @Excel(name = "出库医废袋数")
    private Long outBag;

    /** 出库医废重量 */
    @Excel(name = "出库医废重量")
    private Double outWeight;

    /** 积存医废袋数 */
    @Excel(name = "积存医废袋数")
    private Long storeBag;

    /** 积存医废重量 */
    @Excel(name = "积存医废重量")
    private Double storeWeight;

    /** 标志（预留） */
    @Excel(name = "标志", readConverterExp = "预留")
    private String flag;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDistrictId(Integer districtId) 
    {
        this.districtId = districtId;
    }

    public Integer getDistrictId() 
    {
        return districtId;
    }
    public void setDistrictPid(Integer districtPid) 
    {
        this.districtPid = districtPid;
    }

    public Integer getDistrictPid() 
    {
        return districtPid;
    }
    public void setDistrictDeep(Integer districtDeep) 
    {
        this.districtDeep = districtDeep;
    }

    public Integer getDistrictDeep() 
    {
        return districtDeep;
    }
    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }
    public void setStatisticalDate(Date statisticalDate) 
    {
        this.statisticalDate = statisticalDate;
    }

    public Date getStatisticalDate() 
    {
        return statisticalDate;
    }
    public void setHospitalNum(Integer hospitalNum) 
    {
        this.hospitalNum = hospitalNum;
    }

    public Integer getHospitalNum() 
    {
        return hospitalNum;
    }
    public void setStagingNum(Integer stagingNum) 
    {
        this.stagingNum = stagingNum;
    }

    public Integer getStagingNum() 
    {
        return stagingNum;
    }
    public void setProductBag(Long productBag) 
    {
        this.productBag = productBag;
    }

    public Long getProductBag() 
    {
        return productBag;
    }
    public void setProductWeight(Double productWeight) 
    {
        this.productWeight = productWeight;
    }

    public Double getProductWeight() 
    {
        return productWeight;
    }
    public void setOutBag(Long outBag) 
    {
        this.outBag = outBag;
    }

    public Long getOutBag() 
    {
        return outBag;
    }
    public void setOutWeight(Double outWeight) 
    {
        this.outWeight = outWeight;
    }

    public Double getOutWeight() 
    {
        return outWeight;
    }
    public void setStoreBag(Long storeBag) 
    {
        this.storeBag = storeBag;
    }

    public Long getStoreBag() 
    {
        return storeBag;
    }
    public void setStoreWeight(Double storeWeight) 
    {
        this.storeWeight = storeWeight;
    }

    public Double getStoreWeight() 
    {
        return storeWeight;
    }
    public void setFlag(String flag) 
    {
        this.flag = flag;
    }

    public String getFlag() 
    {
        return flag;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("districtId", getDistrictId())
            .append("districtPid", getDistrictPid())
            .append("districtDeep", getDistrictDeep())
            .append("districtName", getDistrictName())
            .append("statisticalDate", getStatisticalDate())
            .append("hospitalNum", getHospitalNum())
            .append("stagingNum", getStagingNum())
            .append("productBag", getProductBag())
            .append("productWeight", getProductWeight())
            .append("outBag", getOutBag())
            .append("outWeight", getOutWeight())
            .append("storeBag", getStoreBag())
            .append("storeWeight", getStoreWeight())
            .append("flag", getFlag())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
